import { createStore } from 'vuex';

const store = createStore({
  state: {
    count: 0
  },
  mutations: {
    addScore(state, n) {
      state.count += n;
    }
  }
});

export default store;